using ZMap.Renderer;
using ZMap.Source;

namespace ZMap.Layer
{
    public abstract class Layer : BaseLayer, ILayer
    {
        protected Layer()
        {
        }


        public void Render(object target, IViewport viewport)
        {
            // Renderer.Prepare();
            Renderer.Render(target, viewport);
        }

        public ILayerRenderer Renderer { get; set; }
        public ISource Source { get; set; }
    }
}